package com.aaa.bbb.mymaintain.form;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class IssuesManagerProblemForm {

    private String name;
    private String gender;
    private String state;

    private String maintenance_id;

    @NotNull
    @Min(1)
    private Integer pageNum;
    @NotNull
    @Range(min = 5, max = 50)
    private Integer pageSize;
}
